package yxy.game.pm2.module.dungeon;

public enum DungeonType {
	钱币副本(1, 101), 经验副本(2, 201), 武将副本(3, 301), 神器副本(4, 401), 龙魂副本(5, 501),;

	private int number;
	private int startId;

	private DungeonType(int number, int startId) {
		this.number = number;
		this.startId = startId;
	}

	public int getNumber() {
		return number;
	}

	public int getStartId() {
		return startId;
	}

	static public DungeonType forNumber(int value) {
		switch (value) {
		case 1:
			return 钱币副本;
		case 2:
			return 经验副本;
		case 3:
			return 武将副本;
		case 4:
			return 神器副本;
		case 5:
			return 龙魂副本;
		default:
			return null;
		}
	}

}
